import org.molamil.commons.ObjectUtil;
import org.molamil.acto.props.PropContainer;


/**
 * @author Jorge Hernandez
 */
class org.molamil.acto.props.BasicPropContainer implements PropContainer {

	
	// Properties
	
	private var props:Object;
	
	
	// Constructor
	
	public function BasicPropContainer() {
		props = new Object();
	}
	
	
	// Functions

	public function getProp(name:String):Object {
		return ObjectUtil.getNestedProperty(props, name);
	}
	
	public function setProp(name:String, value:Object):Void {
		props[name] = value;
	}
	
	
}
